package comics;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

/**
 * @Author zhang
 * @Date 2021/5/6 下午4:35
 * @Description 漫画实体类，字段都不需要序列化
 * @Version 1.0
 **/
@Data
@TableName("wm_comics")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class Comics extends ComicsDetail {

    private Long platformSource;
    @JSONField(serialize = false)
    private Integer comicsStatus;
    private Long UserId;
    @JSONField(serialize = false)
    @TableLogic
    private Integer deleted;
    @JSONField(serialize = false)
    @TableField(fill = FieldFill.INSERT)
    private Date gwtCreate;
    @JSONField(serialize = false)
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gwtUpdate;

}
